package com.ruoyi.base.service.impl;

import com.ruoyi.base.mapper.SysApiapplyDataMapper;
import com.ruoyi.base.service.IDataShareService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import static com.ruoyi.common.utils.PageUtils.startPage;

@Service
public class DataShareServiceImpl implements IDataShareService {

    @Autowired
    private SysApiapplyDataMapper sysApiapplyDataMapper;

    @Override
    public boolean getCheckAppsecret(String appsecret) {
        if (sysApiapplyDataMapper.selectSysApiapplyDataByAppsecret(appsecret) != null) {
            return true;
        } else {
            return false;
        }
    }
}
